package enum001;

public class ShopBuys {
	private int id;
	private double price;
	private ShopStatus status;
	public ShopBuys() {
		
	}
	public ShopBuys(int id, double price, ShopStatus status) {
		this.id = id;
		this.price = price;
		this.status = status;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public ShopStatus getStatus() {
		return status;
	}
	public void setStatus(ShopStatus status) {
		this.status = status;
	}
	@Override
	public String toString() {
		return "ShopBuys [id=" + id + ", price=" + price + ", status=" + status + "]";
	}
	public void go(final ShopBuys sb) {
		//sb= new ShopBuys(12, 20, ShopStatus.cancel);
		go2(sb);
	}
	private void go2(ShopBuys sb) {
		//sb = new ShopBuys(12, 20, ShopStatus.cancel);
	}
	public static void main(String[] args) {
		ShopBuys sb = new ShopBuys();
		sb.go(sb);
		System.out.println(sb);
	}
}
